﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<!-- 网页头部分布视图 -->
@Html.Partial("~/Views/Shared/HouTai_Header.cshtml")
<body>
    <!-- 网页导航菜单分布视图 -->
    @Html.Partial("~/Views/Shared/HouTai_DaoHang.cshtml")

    <div class="container">
        <div class="row">

            <!-- 网页左侧菜单分布视图 -->
            @Html.Partial("~/Views/Shared/HouTai_Left_Menu_Course.cshtml")

            <div class="col-md-10">


                <div class="panel panel-default panel-page">
                    <div class="panel-heading"><h2>创建课程</h2></div>

                    <form data-widget-cid="widget-0" novalidate="novalidate" id="course-create-form" class="form-horizontal" method="post" action="/Course/AddCourse">
                        @Html.Hidden("Cpublish",0)
                        <div class="form-group">
                            <div class="col-md-2 control-label"><label for="course_title" class="required">课程名称</label>

                            </div>
                            <div class="col-md-8 controls">
                                <input id="course_title" name="CoursesName" required="required" class="form-control" data-widget-cid="widget-1" data-explain="" type="text">
                                <div class="help-block" style="display:none;"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-2 control-label">课程购买</label>

                            <div class="col-md-8 controls radios">
                                <label><input name="CBuy" value="1" checked="checked" type="radio"> 开启</label>
                                <label><input name="CBuy" value="0" type="radio"> 关闭</label>
                                <div class="help-block">关闭后课程将无法在线购买加入、由教师/管理员后台导入。</div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-offset-2 col-md-8 controls">
                                <input id="course-create-btn" data-submiting-text="正在创建" class="btn btn-fat btn-primary" value="创建" type="submit">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-offset-2 col-md-8 controls">
                                <p class="mtl"><a href="http://www.qiqiuyu.com/course/22" class="text-muted" target="_blank">如何创建课程？</a></p>
                            </div>
                        </div>

                        <input name="_csrf_token" value="6bbdd0241e0a31d40038b74691f0cee818a4c06f" type="hidden">
                        <input name="type" value="normal" type="hidden">
                    </form>
                </div>
            </div>
        </div>



    </div>

    <script>
        var app = {};
        app.debug = false;
        app.version = '6.9.3';
        app.httpHost = 'http://www.zhishile.com';
        app.basePath = '';
        app.theme = 'jianmo';
        app.themeGlobalScript = 'theme/global-script';
        app.jsPaths = { "common": "common", "theme": "\/themes\/jianmo\/js", "customwebbundle": "\/bundles\/customweb\/js", "customadminbundle": "\/bundles\/customadmin\/js", "topxiawebbundle": "\/bundles\/topxiaweb\/js", "topxiaadminbundle": "\/bundles\/topxiaadmin\/js", "classroombundle": "\/bundles\/classroom\/js" };
        app.crontab = '/common/crontab';

        var CKEDITOR_BASEPATH = app.basePath + '/assets/libs/ckeditor/4.6.7/';
        app.config = { "api": { "weibo": { "key": "" }, "qq": { "key": "" }, "douban": { "key": "" }, "renren": { "key": "" } }, "cloud": { "video_player": "http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/GrindPlayer.swf", "video_player_watermark_plugin": "http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/Watermake-1.0.3.swf", "video_player_fingerprint_plugin": "http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/Fingerprint-1.0.1.swf" }, "loading_img_path": "\/assets\/img\/default\/loading.gif?6.9.3" };
        app.arguments = {};
        app.controller = 'user/list';

        app.scripts = null;

        app.uploadUrl = '/file/upload';
        app.imgCropUrl = '/file/img/crop';
        app.lessonCopyEnabled = '0';
        app.mainScript = '/bundles/topxiaadmin/js/admin-app.js?6.9.3';
    </script>
    <script src="/Content/js/sea.js?6.9.3"></script>
    <script src="/Content/js/seajs-style.js?6.9.3"></script>
    <script src="/Content/js/seajs-global-config.js?6.9.3"></script>
    <script>
        seajs.use(app.mainScript);
    </script>  <div id="modal" class="modal"></div>
    <div class="fixed-bar">
        <a href="/admin/feedback" target='_blank' class="icon-question-text feedback">
            <i class="es-icon es-icon-help"></i>
            <span>产品<br />反馈</span>
        </a>
    </div>
</body>

</html>